const getters = {
  sidebar: state => state.app.sidebar,
  navbar:state => state.app.navbar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  myCompanyNameList:state => state.user.myCompanyNameList,
  id: state => state.user.id,
  phone: state => state.user.phone,
  email: state => state.user.email,
  status:state => state.user.status,
  createDate:state => state.user.createDate,
  score:state => state.user.score,
  isMain: state => state.user.isMain,
  epName: state => state.user.epName,
  position:state => state.user.position,
  username:state => state.user.username,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  obj:state=>state.detail.obj,
  permissions: state => state.user.permissions,
  fatherId :state => state.user.fatherId,
  permission_routes: state => state.permission.routes,
  topbarRouters: state => state.permission.topbarRouters,
  defaultRoutes: state => state.permission.defaultRoutes,
  sidebarRouters: state => state.permission.sidebarRouters,
  // generateRoutes: state => state.permission.routes,
}
export default getters
